package com.twb.auth.entity.twbResource;

import java.io.Serializable;

import org.apache.ibatis.type.JdbcType;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * <p>
 * 资源API对照表
 * </p>
 *
 * @author DSY
 * @since 2018-10-24
 */
@TableName(value = "twb_resource_api")
public class TwbResourceApi implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * api编号
	 */
	@TableField(value="api_id",jdbcType = JdbcType.VARCHAR)
	private String apiId;

	/**
	 * 资源编号
	 */
	@TableField(value="resource_id",jdbcType = JdbcType.VARCHAR)
	private String resourceId;

	public String getApiId() {
		return apiId;
	}

	public void setApiId(String apiId) {
		this.apiId = apiId;
	}

	public String getResourceId() {
		return resourceId;
	}

	public void setResourceId(String resourceId) {
		this.resourceId = resourceId;
	}

	@Override
	public String toString() {
		return "TwbRoleResource{" + "apiId=" + apiId + ", resourceId=" + resourceId + "}";
	}
}
